package com.example.model;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;

@Data
@Table
public class SysModule {

  @Id
  private String moduleId;
  private String moduleCode;
  private String moduleName;
  private String linkUrl;
  private Long moduleOrder;
  private String parentModule;
  private String moduleDesc;
  private String expanded;
  private String leaf;

  @Transient
  private List<SysModule> childModules;

}
